package main

import (
	"log"
	. "test-go/src/rpc/hello_rpc"
)

func main() {
	client, err := DialHelloService(NETWORK, ADDRESS)
	if err != nil {
		log.Fatalln("Dial error:", err)
	}
	var reply string
	err = client.Hello("jasper", &reply)
	if err != nil {
		log.Fatalln(err)
	}
	log.Println("Call reply:", reply)
}
